home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 41
/
Amiga Format CD41 (1999-06)(Future Publishing)(GB)[!][issue 1999-07].iso
/
-seriously_amiga-
/
comms
/
www
/
ibrowsescripts
/
rexx
/
ib2ppaint.ibrx
< prev
next >
Wrap
Text File
|
1999-04-19
|
574b
|
24 lines
/* IB TO PPAINT Sören Forsberg 1998 */
/* Sends currentscreen to PPAINT for editing */
ADDRESS 'COMMAND'
'cd ibrowse:rexx'
'ibrowse:rexx/getfirstscraddress >RAM:T/ib2ppaint.temp'
IF Open('tempfile','RAM:T/ib2ppaint.temp','R') THEN DO
instring = Readch('tempfile',10)
slask = Close('tempfile')
'delete RAM:T/ib2ppaint.temp >NIL:'
IF ~SHOW('Ports','PPAINT') THEN DO
ADDRESS 'COMMAND'
'Run PPAINT:PPAINT NOCHECK'
'SYS:RexxC/WaitForPort PPAINT'
END
IF SHOW('Ports','PPAINT') THEN DO
ADDRESS 'PPAINT'
Grabscreen ADDRESS instring FORCE
END
END